package com.ruoyi.archives.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * catering_unit_record对象 tb_catering_unit_record
 *
 * @author wng
 * @date 2024-08-04
 */
public class CateringUnitRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 供餐单位id
     */
//    @Excel(name = "供餐单位id")
    private Long unitId;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 记录文件
     */
    @Excel(name = "记录文件", cellType = Excel.ColumnType.IMAGE)
    private String recordFile;

    /**
     * 0正常 1删除
     */
    private Integer delFlag;

    /**
     * 供餐单位名称
     */
    @Excel(name = "供餐单位")
    private String unitName;

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setRecordFile(String recordFile) {
        this.recordFile = recordFile;
    }

    public String getRecordFile() {
        return recordFile;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("unitId", getUnitId())
                .append("title", getTitle())
                .append("recordFile", getRecordFile())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
